package com.shengqi.xinnongren.work.ui.user.model;

import com.shengqi.xinnongren.work.ui.home.model.CartGoodsBean;

import java.util.List;

public class PrepareOrderInfoBean {

    /**
     * apiAddress : {"addressId":1,"name":"尹传奇","mobile":"15655160326","province":"安徽","city":"合肥","county":"包河区","address":"绿地瀛海D座","isDefault":1}
     * deliveryTime : [{"timeId":3,"time":"23:00-00:00","isFull":0,"maxOrderCount":10}]
     * apiComSkuCom : [{"comId":2,"comName":"青皮梨","picUrl":"http://192.168.1.99:8088/images/1","isNew":1,"skuList":[{"skuId":2,"skuName":"箱装/5斤","price":18.6,"marketPrice":22.8,"shopCarNum":2,"activityType":0},{"skuId":2,"skuName":"箱装/5斤","price":0,"marketPrice":22.8,"shopCarNum":1,"activityType":1}]}]
     * comMoney : 37.2
     * shippingFee : 0
     * integral : 8
     * coupon : [{"couponId":1,"name":"新农人优惠券","remarks":"满减券","useAmount":2,"discountAmount":2,"time":"2018.09.17-2018.09.22"}]
     * comNum : 2
     * isVip : 0
     * orderPrice : 27.2
     */

    private AddressBean apiAddress;
    private double comMoney;
    private int shippingFee;
    private int integral;
    private int comNum;
    private int isVip;
    private String couponAmount;
    private String discountAmount;
    private String integralMoney;
    private String fullReduction;
    private double orderPrice;
    private List<DeliveryTimeBean> deliveryTime;
    private List<CartGoodsBean> apiComSkuCom;
    private List<CouponBean> coupon;

    public String getCouponAmount() {
        return couponAmount;
    }

    public void setCouponAmount(String couponAmount) {
        this.couponAmount = couponAmount;
    }

    public String getDiscountAmount() {
        return discountAmount;
    }

    public void setDiscountAmount(String discountAmount) {
        this.discountAmount = discountAmount;
    }

    public AddressBean getApiAddress() {
        return apiAddress;
    }

    public void setApiAddress(AddressBean apiAddress) {
        this.apiAddress = apiAddress;
    }

    public double getComMoney() {
        return comMoney;
    }

    public void setComMoney(double comMoney) {
        this.comMoney = comMoney;
    }

    public int getShippingFee() {
        return shippingFee;
    }

    public void setShippingFee(int shippingFee) {
        this.shippingFee = shippingFee;
    }

    public int getIntegral() {
        return integral;
    }

    public void setIntegral(int integral) {
        this.integral = integral;
    }

    public int getComNum() {
        return comNum;
    }

    public void setComNum(int comNum) {
        this.comNum = comNum;
    }

    public int getIsVip() {
        return isVip;
    }

    public void setIsVip(int isVip) {
        this.isVip = isVip;
    }

    public double getOrderPrice() {
        return orderPrice;
    }

    public void setOrderPrice(double orderPrice) {
        this.orderPrice = orderPrice;
    }

    public String getIntegralMoney() {
        return integralMoney;
    }

    public void setIntegralMoney(String integralMoney) {
        this.integralMoney = integralMoney;
    }

    public String getFullReduction() {
        return fullReduction;
    }

    public void setFullReduction(String fullReduction) {
        this.fullReduction = fullReduction;
    }

    public List<DeliveryTimeBean> getDeliveryTime() {
        return deliveryTime;
    }

    public void setDeliveryTime(List<DeliveryTimeBean> deliveryTime) {
        this.deliveryTime = deliveryTime;
    }

    public List<CartGoodsBean> getApiComSkuCom() {
        return apiComSkuCom;
    }

    public void setApiComSkuCom(List<CartGoodsBean> apiComSkuCom) {
        this.apiComSkuCom = apiComSkuCom;
    }

    public List<CouponBean> getCoupon() {
        return coupon;
    }

    public void setCoupon(List<CouponBean> coupon) {
        this.coupon = coupon;
    }

    public static class DeliveryTimeBean {
        /**
         * timeId : 3
         * time : 23:00-00:00
         * isFull : 0
         * maxOrderCount : 10
         */

        private String timeId;
        private String time;
        private int isFull;
        private int maxOrderCount;

        public String getTimeId() {
            return timeId;
        }

        public void setTimeId(String timeId) {
            this.timeId = timeId;
        }

        public String getTime() {
            return time;
        }

        public void setTime(String time) {
            this.time = time;
        }

        public int getIsFull() {
            return isFull;
        }

        public void setIsFull(int isFull) {
            this.isFull = isFull;
        }

        public int getMaxOrderCount() {
            return maxOrderCount;
        }

        public void setMaxOrderCount(int maxOrderCount) {
            this.maxOrderCount = maxOrderCount;
        }
    }
}
